<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>PaleGem: Inc/IEventManager.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">PaleGem
   &#160;<span id="projectnumber">0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_f93dfce691d792349f1c14ede440e2e6.html">Inc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#enum-members">Enumerations</a>  </div>
  <div class="headertitle">
<div class="title">IEventManager.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a href="_i_event_manager_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_event_manager.html">IEventManager</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Manages events and listeners.  <a href="class_i_event_manager.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:ab13f1eb4f7990ad6a97263126b1e8565"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565">EVENT_CLASS</a> { <br/>
&#160;&#160;<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565a230d22d3c096db888df52a0e5d5ba7ac">EC_UNKNOWN</a>, 
<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565a8ce8a4f4df30c615e80bfed08ac1f110">EC_PHYSICS</a>, 
<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565ad5ab5ff384f4398b592a8aae020d765e">EC_INPUT</a>, 
<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565ab468cbf01af2d7241c274b2abd7f1b1a">EC_AUDIO</a>, 
<br/>
&#160;&#160;<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565a2920e4bd6ad466acdce12a86148bb49b">EC_GRAPHICS</a>, 
<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565a8140a631dce2109ffec314dcf23f809f">EC_AI</a>, 
<a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565a70d6eac52027df7ac1e5b5e5205ed24a">EC_FRAMEWORK</a>
<br/>
 }</td></tr>
<tr class="memdesc:ab13f1eb4f7990ad6a97263126b1e8565"><td class="mdescLeft">&#160;</td><td class="mdescRight">All possible types of classes an event can be in.  <a href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565">More...</a><br/></td></tr>
<tr class="separator:ab13f1eb4f7990ad6a97263126b1e8565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acebeb2e728025f3444b405355a3f8e92"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92">EVENT_NAME</a> { <br/>
&#160;&#160;<a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92a0bdce79d948b8215713bcf669df0b8f1">E_UNKNOWN</a> = 0x100, 
<a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92af5047fc01f1bd025e06411193dedec1a">E_ONINIT</a>, 
<a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92a672bcef65b9c9d2a2232e51d3779574d">E_ONSHUTDOWN</a>, 
<a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92aa5c5cacc4a9f80c57a6fd764074c6ecc">E_ONLEVELLOADED</a>, 
<br/>
&#160;&#160;<a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92ab6aa32742f704a2482f223b2cdef178c">E_ONCRITICAL_ERROR</a>
<br/>
 }</td></tr>
<tr class="memdesc:acebeb2e728025f3444b405355a3f8e92"><td class="mdescLeft">&#160;</td><td class="mdescRight">The actual event.  <a href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92">More...</a><br/></td></tr>
<tr class="separator:acebeb2e728025f3444b405355a3f8e92"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_i_event_manager_8h.html#ab13f1eb4f7990ad6a97263126b1e8565">EVENT_CLASS</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>All possible types of classes an event can be in. </p>
<p>It is recommended to make use of these when registring an event since it can speed up the distribution process. If you plan to create your own enums for your own event classes it's probably a good idea to make the start with a 3 digit number (1000+) See also EKeyPressEventClass and EKeyPressKeyEventName to prevent usage of key related event numbers. Though you should be aware of the fact that EVENT_CLASS and EVENT_NAME are representating different things and therefore can take on the same values and still be differentiated. </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565a230d22d3c096db888df52a0e5d5ba7ac"></a>EC_UNKNOWN</em>&nbsp;</td><td class="fielddoc">
<p>A generic class. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565a8ce8a4f4df30c615e80bfed08ac1f110"></a>EC_PHYSICS</em>&nbsp;</td><td class="fielddoc">
<p>Events related to the physics system. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565ad5ab5ff384f4398b592a8aae020d765e"></a>EC_INPUT</em>&nbsp;</td><td class="fielddoc">
<p>Events related to the input system. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565ab468cbf01af2d7241c274b2abd7f1b1a"></a>EC_AUDIO</em>&nbsp;</td><td class="fielddoc">
<p>Events related to the audio system. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565a2920e4bd6ad466acdce12a86148bb49b"></a>EC_GRAPHICS</em>&nbsp;</td><td class="fielddoc">
<p>Events related to the graphics system. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565a8140a631dce2109ffec314dcf23f809f"></a>EC_AI</em>&nbsp;</td><td class="fielddoc">
<p>Events related to the ai system. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="ab13f1eb4f7990ad6a97263126b1e8565a70d6eac52027df7ac1e5b5e5205ed24a"></a>EC_FRAMEWORK</em>&nbsp;</td><td class="fielddoc">
<p>Events related to the ENGINEframework. </p>
</td></tr>
</table>

</div>
</div>
<a class="anchor" id="acebeb2e728025f3444b405355a3f8e92"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="_i_event_manager_8h.html#acebeb2e728025f3444b405355a3f8e92">EVENT_NAME</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The actual event. </p>
<p>Note: if you only want to receive an update every frame, use E_UNKNOWN for performance reasons. If you have crtitical data , you can react on the E_ONCRITICAL_ERROR event to save it or free memory a.s.o. If you plan to create your own enums for your own events it's probably a good idea to make the start with a 3 digit number (1000+) 0 - 0xFF is reserverd for key events. The bits of a 32bit integer are reserved for internal keymaps (2^0, 2^1 .. 2^31) </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="acebeb2e728025f3444b405355a3f8e92a0bdce79d948b8215713bcf669df0b8f1"></a>E_UNKNOWN</em>&nbsp;</td><td class="fielddoc">
<p>Use this to enable per frame updates. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acebeb2e728025f3444b405355a3f8e92af5047fc01f1bd025e06411193dedec1a"></a>E_ONINIT</em>&nbsp;</td><td class="fielddoc">
<p>Engine has been initialized. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acebeb2e728025f3444b405355a3f8e92a672bcef65b9c9d2a2232e51d3779574d"></a>E_ONSHUTDOWN</em>&nbsp;</td><td class="fielddoc">
<p>Engine is going to shut down. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acebeb2e728025f3444b405355a3f8e92aa5c5cacc4a9f80c57a6fd764074c6ecc"></a>E_ONLEVELLOADED</em>&nbsp;</td><td class="fielddoc">
<p>A level has been loaded. </p>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="acebeb2e728025f3444b405355a3f8e92ab6aa32742f704a2482f223b2cdef178c"></a>E_ONCRITICAL_ERROR</em>&nbsp;</td><td class="fielddoc">
<p>Something went terribly wrong, engine will shutdown. </p>
</td></tr>
</table>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 1 2013 11:55:07 for PaleGem by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
